package com.atguigu.ware.service;

import com.atguigu.common.utils.PageUtils;
import com.atguigu.ware.entity.PurchaseEntity;
import com.atguigu.ware.vo.MergeVo;
import com.atguigu.ware.vo.PurchaseDoneVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * @author polarisink
 * @email polarisink@163.com
 * @date 2020-12-18 14:19:34
 */
public interface PurchaseService extends IService<PurchaseEntity> {

  PageUtils queryPage(Map<String, Object> params);

  PageUtils queryPageUnreceivePurchase(Map<String, Object> params);


  void mergePurchase(MergeVo mergeVo);


  void received(List<Long> ids);


  void done(PurchaseDoneVo doneVo);


}

